package com.作业.Day21;

import lombok.Data;

@Data
public class Person {
    String name="小明";
    int age=18;

    public Person(String name) {
        this.name = name;
    }
    public Person() {}

    void show() {
        System.out.println("姓名："+name+"  年龄："+age);
    }
}
